from common.locate_by import By

class LocKeyDetail:

    loc_close = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "行政区域:",
        "seq": 1,
    }

    loc_shelter_code = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "避难场所编码:",
    }

    loc_shelter_name = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "避难场所名称:",
        "seq": 2,
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "重点防护目标名称:",
    }

    loc_category = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "重点防护目标类型:",
        "seq": 3,
    }

    loc_affiliated_unit = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "所属单位:",
    }

    loc_address = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "地址:",
    }

    loc_geom = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "坐标信息:",
    }
    loc_geom_close = {
        "page_role": By.dialog,
        "page_title": "坐标信息",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_sum_num = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.spinbutton,
        "loc_name": "规模数量:"
    }

    loc_longitude = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "经度:",
    }

    loc_linkman = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "负责人:",
    }

    loc_latitude = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "纬度:",
    }

    loc_linkman_tel = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "联系电话:",
    }

    loc_resident_Position_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置:",
    }

    loc_resident_Position_desc = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置描述:",
    }

    loc_resident_position_desc = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置描述:",
    }

    loc_resident_position_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置:",
    }

    loc_enterprise_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "所属企业:",
    }
